<template>
	<view>
		<view class="top">
			<view class="title">
				{{info.title}}
			</view>
			<view class="time">
				{{info.createtime}}
			</view>
		</view>
		<view class="con">
			<view class="" v-html="info.content">
				
			</view>
		</view>
	</view>
</template>

<script>
	import {getNoticeInfo} from '@/api/home.js'
	export default {
		data() {
			return {
				info:{}
			};
		},
		onLoad(o) {
			getNoticeInfo({id:o.id}).then(res=>{
				// console.log(res)
				this.info=res.data.data
			})
		}
	}
</script>

<style lang="less">
.top{
	padding-top: 20rpx;
	text-align: center;
	.title{
		font-size: 36rpx;
		font-weight: bold;
	}
	.time{
		font-size: 24rpx;
		margin-top: 20rpx;
		
	}
}
.con{
	padding: 50rpx;
}
</style>
